﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//TODO:Create a float which extends ie 2.5Mb();

namespace zielonka.co.uk.extensions.system
{
    /*
        if (Environment.OSVersion.IsWinVistaOrHigher())
        {
          // do stuff
        }
     */
    public static partial class EnviromentExtensions
    {
        public static bool IsWinVistaOrHigher(this OperatingSystem OS)
        {
            return (OS.Platform == PlatformID.Win32NT)
              && (OS.Version.Major >= 6);
        }
    }
}
